<template>
  <div class="box">
    <div class="header">
      <div class="logo">
        <img src="/imgs/logo-mi.png" alt />
      </div>
      <div class="title">
        <span>{{title}}</span>
        <span>温馨提示：产品是否购买成功，以最终下单为准哦，请尽快结算</span>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: "order-header",
  props: ["title"],
};
</script>


<style lang="scss" scoped>
.box {
  width: 100%;
  .header {
    width: 1126px;
    height: 112px;
    margin: 0 auto;
    .logo {
      float: left;
      img {
        width: 53px;
        margin-top: 29px;
      }
    }
    .title {
      float: left;
      :nth-child(1) {
        font-size: 28px;
        color: #333333;
        margin-left: 54px;
        margin-top: 37px;
        display: inline-block;
      }
      :nth-child(2) {
        color: #999999;
        font-size: 14px;
        margin-left: 17px;
      }
    }
  }
}
</style>